<?php

// 실행시간 측정
$start = get_time();

## 측정대상 코드는 여기에 ##

$end = get_time();
$lead_time = $end - $start;	
echo "Lead Time: ".$lead_time."sec.<br />";	

function get_time() 
{
	list($sec, $microsec) = explode(' ', microtime());
	return ((float) $sec + (float) $microsec);
}
	

	
	
	
	
?>